//
//  SASoundPlayer.h
//  01_kakin
//
//  Created by jon due on 12/03/27.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@protocol SASoundDelegate;

@interface SASoundPlayer : NSObject <AVAudioPlayerDelegate> {
    
}
@property(nonatomic,assign)id<SASoundDelegate> delegate;
@property(nonatomic,retain)AVAudioPlayer *AVPlayer;

-(void)play:(NSString*)fileName;
-(void)stop;


@end

/****************************************************************************************/
#pragma mark -  HeaderBtnDelegate
/****************************************************************************************/

@protocol SASoundDelegate <NSObject>

@optional

-(void)soundPlayer:(AVAudioPlayer*)player;

@end

